Optimal. Leaf size=58 \[ -\frac {\left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (-\frac {1}{2},-2 p;\frac {1}{2};-\frac {b x^2}{a}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1127, 371}
\begin {gather*} -\frac {\left (\frac {b x^2}{a}+1\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (-\frac {1}{2},-2 p;\frac {1}{2};-\frac {b x^2}{a}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 1127
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x^2+b^2 x^4\right )^p}{x^2} \, dx &=\left (\left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p\right ) \int \frac {\left (1+\frac {b x^2}{a}\right )^{2 p}}{x^2} \, dx\\ &=-\frac {\left (1+\frac {b x^2}{a}\right )^{-2 p} \left (a^2+2 a b x^2+b^2 x^4\right )^p \, _2F_1\left (-\frac {1}{2},-2 p;\frac {1}{2};-\frac {b x^2}{a}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 49, normalized size = 0.84 \begin {gather*} -\frac {\left (\left (a+b x^2\right )^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-2 p} \, _2F_1\left (-\frac {1}{2},-2 p;\frac {1}{2};-\frac {b x^2}{a}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )^{p}}{x^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (\left (a + b x^{2}\right )^{2}\right )^{p}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a^2+2\,a\,b\,x^2+b^2\,x^4\right )}^p}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________